package com.jose.photogallery.domain;

import javax.persistence.Id;

public class Rating {
	/*
	 * Key: BlobstoreKey + "-" + user_id
	 */
	@Id String key;
	int rating;
	String user;
	String blobKey;

	public Rating() {}
	
	public void setKey(String key) {
		this.key = key;
	}
	
	public String getKey() {
		return key;
	}

	public int getRating() {
		return rating;
	}

	public void setRating(int rating) {
		this.rating = rating;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getBlobKey() {
		return blobKey;
	}

	public void setBlobKey(String blobKey) {
		this.blobKey = blobKey;
	}
}
